import cv2
img=cv2.imread("river.png")
dst1=cv2.flip(img,1)
dst2=cv2.flip(img,0)
dst3=cv2.flip(img,-1)
cv2.imshow("Input",img)
cv2.imshow("Flip1",dst1)
cv2.imshow("Flip2",dst2)
cv2.imshow("Flip3",dst3)
cv2.waitKey()
cv2.destroyAllWindows()